package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.partyactivists.PartyActivistsGetDto;
import com.teacher.pojo.entity.PartyActivists;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.partyschool.PartySchoolGetVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 入党积极分子 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-04
 */
public interface IPartyActivistsService extends IService<PartyActivists> {

    /**
     * 查询入党积极分子
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<PartySchoolGetVo>> getPage(PartyActivistsGetDto dto);

    /**
     * 导入入党积极分子
     *
     * @param file
     * @return
     */
    CommonResult<String> upload(MultipartFile file);
}
